<?php


require_once '../include/common.inc.php';

if (!checkAdmin()) {
	header("LOCATION:index.php");
	exit;
}

$menu_index = 3;
$page_title = 'JANSEN';
$guide_message = 'Info | becomedealer';
$alert_message = '';
$email = '';

getMyParam('action');
getMyParam('dealer');
getMyParam('dealerzh');//

if ($action == "update") {
	$dealer = str_replace("\"", "'", $dealer);	
	$dealerzh=str_replace("\"", "'", $dealerzh);	
	SetSystemtbValue('becomedealer',addslashes($dealer),addslashes($dealerzh));	
	$alert_message = 'update succeed.';
}


$abs=array();
$abs=getSystemArray();

$out_dealer = $abs['becomedealeren'];
$out_dealerzh = $abs['becomedealerzh'];

$debug = 1;
debuginfo();


include_once(JANSEN_ROOT . 'admin/menu_list.php');
require_once PrintEot('a_header');
require_once PrintEot('a_i_becomedealer');
require_once PrintEot('a_footer');
?>